# -*- coding: utf-8 -*-

import csv

with open('listacompras.csv', 'rb') as csvfile:
    leitor = csv.reader(csvfile)
    for linha in leitor:
        print "," .join(linha)


with open('notas.csv', 'wb') as csvfile:
    escritor = csv.writer(csvfile)
    escritor.writerow(['Programacao 1', 14])
    escritor.writerow(['Programacao 2', 15])
    escritor.writerow(['Linguagens de Programacao', 19])
        
